\section{fsm\+\_\+change.\+c File Reference}
\label{fsm__change_8c}\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}


Ether\+C\+AT state change F\+SM.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{fsm__change_8c_ac795cfc1b59ef531b45e8d14ecab9841}} 
\#define \textbf{ E\+C\+\_\+\+A\+L\+\_\+\+S\+T\+A\+T\+E\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+T\+I\+M\+E\+O\+UT}~5
\begin{DoxyCompactList}\small\item\em Timeout while waiting for AL state change [s]. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: S\+T\+A\+RT. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: C\+H\+E\+CK. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: S\+T\+A\+T\+US. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Enter reading AL status code. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: C\+O\+DE. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: A\+CK. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Change state\+: C\+H\+E\+CK A\+CK. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em State\+: E\+ND. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em State\+: E\+R\+R\+OR. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+init} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$datagram)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+clear} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+start} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, \textbf{ ec\+\_\+slave\+\_\+state\+\_\+t} state)
\begin{DoxyCompactList}\small\item\em Starts the change state machine. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+ack} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave)
\begin{DoxyCompactList}\small\item\em Starts the change state machine to only acknowlegde a slave\textquotesingle{}s state. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+exec} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Executes the current state of the state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+success} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$fsm)
\begin{DoxyCompactList}\small\item\em Returns, if the state machine terminated with success. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{fsm__change_8c_a5bdb82dad7820f4bb46d5713c4247a54}} 
const \textbf{ ec\+\_\+code\+\_\+msg\+\_\+t} \textbf{ al\+\_\+status\+\_\+messages} [$\,$]
\begin{DoxyCompactList}\small\item\em Application layer status messages. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT state change F\+SM. 



\subsection{Function Documentation}
\mbox{\label{fsm__change_8c_a1ff34d96ae20d01c0ceff028a86ba0d2}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: S\+T\+A\+RT. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 152 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a2f4192e2dc04a2bdbe005c3813def3d0}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: C\+H\+E\+CK. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 174 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_aa1d6b2a804bb531bb20a527ca46bfc16}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+status (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: S\+T\+A\+T\+US. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 237 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_ab1ff93adaf35610e0b9e28d609f0ce8a}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+start\+\_\+code (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Enter reading AL status code. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 326 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a3086450d29218c679764594776e55fb8}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+code (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: C\+O\+DE. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 406 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a17990ee1720e4f8024fea39a6c167e59}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+ack (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: A\+CK. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 458 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a416b62cee177ddf8ec5865b93c8f0750}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+check\+\_\+ack (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Change state\+: C\+H\+E\+CK A\+CK. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 495 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_ac6b5a2fe1d6064f2a6680d9969f9ba06}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+end (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



State\+: E\+ND. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 572 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a70051338de643faf0297a9b1f6784064}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error@{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+state\+\_\+error (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



State\+: E\+R\+R\+OR. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 561 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a2813e95dc9b8f066f1d88a379db9919a}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+init@{ec\+\_\+fsm\+\_\+change\+\_\+init}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+init@{ec\+\_\+fsm\+\_\+change\+\_\+init}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em datagram} & datagram \\
\hline
\end{DoxyParams}


Definition at line 65 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a6d947220ad1f1869e05a59d70548dd2e}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+clear@{ec\+\_\+fsm\+\_\+change\+\_\+clear}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+clear@{ec\+\_\+fsm\+\_\+change\+\_\+clear}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Destructor. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 80 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a6426f6ba873260eb02f47b455666666e}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+start@{ec\+\_\+fsm\+\_\+change\+\_\+start}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+start@{ec\+\_\+fsm\+\_\+change\+\_\+start}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+start()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+start (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{\textbf{ ec\+\_\+slave\+\_\+state\+\_\+t}}]{state }\end{DoxyParamCaption})}



Starts the change state machine. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em slave} & Ether\+C\+AT slave \\
\hline
{\em state} & requested state \\
\hline
\end{DoxyParams}


Definition at line 90 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a547d125301f531e459193593442ba6e9}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+ack}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+ack@{ec\+\_\+fsm\+\_\+change\+\_\+ack}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+ack()}
{\footnotesize\ttfamily void ec\+\_\+fsm\+\_\+change\+\_\+ack (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave }\end{DoxyParamCaption})}



Starts the change state machine to only acknowlegde a slave\textquotesingle{}s state. 


\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
{\em slave} & Ether\+C\+AT slave \\
\hline
\end{DoxyParams}


Definition at line 107 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_ab408609f93deb57cb9ad9d63a9703491}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+exec@{ec\+\_\+fsm\+\_\+change\+\_\+exec}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+exec@{ec\+\_\+fsm\+\_\+change\+\_\+exec}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+exec()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+change\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Executes the current state of the state machine. 

\begin{DoxyReturn}{Returns}
false, if the state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 124 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8c_a07f6b7b3e079c69fcc052f7fcd4354ce}} 
\index{fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}!ec\+\_\+fsm\+\_\+change\+\_\+success@{ec\+\_\+fsm\+\_\+change\+\_\+success}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+success@{ec\+\_\+fsm\+\_\+change\+\_\+success}!fsm\+\_\+change.\+c@{fsm\+\_\+change.\+c}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+success()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+change\+\_\+success (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Returns, if the state machine terminated with success. 

\begin{DoxyReturn}{Returns}
non-\/zero if successful. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & Finite state machine \\
\hline
\end{DoxyParams}


Definition at line 139 of file fsm\+\_\+change.\+c.

